if (document.images) {
	


	homeon = new Image();           // The onmouseover image
	homeon.src = "/templates/5/m_home_over.jpg";  
	homeoff = new Image();          // The normally seen image
	homeoff.src = "/templates/5/m_home.jpg";
	
	memberson = new Image();           // The onmouseover image
	memberson.src = "/templates/5/m_members_over.jpg";  
	membersoff = new Image();          // The normally seen image
	membersoff.src = "/templates/5/m_members.jpg";
	
	offerson = new Image();           // The onmouseover image
	offerson.src = "/templates/5/m_offers_over.jpg";  
	offersoff = new Image();          // The normally seen image
	offersoff.src = "/templates/5/m_offers.jpg";
	
	contestson = new Image();           // The onmouseover image
	contestson.src = "/templates/5/m_contests_over.jpg";  
	contestsoff = new Image();          // The normally seen image
	contestsoff.src = "/templates/5/m_contests.jpg";

	rewardson = new Image();           // The onmouseover image
	rewardson.src = "/templates/5/m_rewards_over.jpg";  
	rewardsoff = new Image();          // The normally seen image
	rewardsoff.src = "/templates/5/m_rewards.jpg";

    referralson = new Image();           // The onmouseover image
	referralson.src = "/templates/5/m_referrals_over.jpg";  
	referralsoff = new Image();          // The normally seen image
	referralsoff.src = "/templates/5/m_referrals.jpg";

	helpon = new Image();           // The onmouseover image
	helpon.src = "/templates/5/m_help_over.jpg";  
	helpoff = new Image();          // The normally seen image
	helpoff.src = "/templates/5/m_help.jpg";





	
  }				  //This function changes the image when over.
    function imgOn(imgName) {
            if (document.images) {
            document[imgName].src = eval(imgName + "on.src");
            }
    }				   //This function changes the image back when off.
    function imgOff(imgName) {
            if (document.images) {
            document[imgName].src = eval(imgName + "off.src");        
            }
    }